package com.me.brainlessbirds.actors.obstacles.units;

import com.badlogic.gdx.graphics.g2d.TextureRegion;
import com.me.brainlessbirds.Assets;
import com.me.brainlessbirds.actors.obstacles.Obstacle;

public class Bumper extends Obstacle
{
	public Bumper()
	{
		type = ObstacleType.BUMPER;
		life = 1.0f;
		active = true;
		destructible = false;
		recharge = 20.0f;
		rgn = new TextureRegion(Assets.get().textureBumper);
		rgnDown = new TextureRegion(Assets.get().textureBumperDown);

		setSize(64.0f, 64.0f);
		setOrigin(getWidth() / 2, getHeight() / 2);
	}

	@Override
	public void repare()
	{
		super.repare();
		this.life = 1f;
	}
}
